package com.huabo.contract.service.impl;

import com.huabo.contract.config.DateBaseConfig;
import com.huabo.contract.oracle.mapper.TblLegalArbitrationAttMapper;
import com.huabo.contract.service.TblLegalArbitrationAttService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TblLegalArbitrationAttServiceImpl implements TblLegalArbitrationAttService {

    @Resource
    private TblLegalArbitrationAttMapper tblLegalArbitrationAttMapper;

    @Override
    public void deleteRelation(String attid) {
        if(DateBaseConfig.DATABASETYPE.equals("Oracle")) {
            tblLegalArbitrationAttMapper.deleteRelation(attid);
        } else {
            tblLegalArbitrationAttMapper.deleteRelation(attid);
        }
    }
}
